<template>
  <div class="Screenshot">
    <!-- 截图 -->
    <div>
      <div class="detail_header">
        <span class="title p_title">{{ $t('caseorder.yulan.yulan114') }}</span>
      </div>
    </div>
    <div v-if="mouthImgs && mouthImgs.length > 0" class="order_jietu">
      <div v-for="(item, index) in mouthImgs" :key="index" class="screenshots_item">
        <img :src="item.url" />
        <div>{{ item.typeName }}</div>
      </div>
    </div>

    <div v-else style="color: #e59740">
      {{ $t('caseorder.yulan.yulan103') }}
    </div>
  </div>
</template>

<script>
export default {
  // 订单详情
  name: 'Screenshot',
  props: {
    mouthImgs: {
      type: Array,
    },
  },

  components: {},
  data() {
    return {};
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.Screenshot {
  margin: 15px 0;
  .detail_header {
    margin: 15px 0;
    .title {
      font-size: 16px;
      font-weight: 800;
      line-height: 20px;
      color: #003e67;
    }
    

    .header_right {
      position: relative;

      img {
        cursor: pointer;
        width: 38px;
        height: 38px;
      }

      img:nth-child(1) {
        margin-right: 20px;
      }
    }
  }

  .order_jietu {
    width: 100%;
    min-height: 145px;
    // margin-top: 40px;
    margin-bottom: 62px;
    // padding-left: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
    // margin-left: 35px;

    ::v-deep &.el-row {
      &:before,
      &:after {
        display: none;
      }
    }
  }

  .screenshots_item {
    //width: 32%;
    position: relative;
    border-radius: 0px 14px 0px 0px;
    overflow: hidden;

    img {
      width: 380px;
      height: 246px;
      //height: 100%;
      object-fit: cover;
    }

    div {
      // width: 71px;
      padding: 0 10px;
      height: 41px;
      line-height: 41px;
      text-align: center;
      border-radius: 0px 14px 0px 14px;
      position: absolute;
      right: 0;
      top: 0;
      font-size: 14px;
      font-family: PingFang SC;
      font-weight: 400;
      color: #ffffff;
      background: #e59740;
    }
  }
}
</style>
